<template>
  <div class="app-container">
    <div class="app">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  provide() {
    return {
      reload: this.reload
    }
  },
  data() {
    return {
      isReload: true
    }
  },
  methods: {
    reload() {
      this.isReload = false
      this.$nextTick(() => {
        this.isReload = true
      })
    }
  }
}
</script>

<style lang="less">
* {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #3d3d3d;
}
body {
  min-width: 320px;
  max-width: 640px;
  // background: #e0e0e0;
  background: #ededed;
  margin: 0 auto !important;
}
html,
body {
  // height: 100%;
  color: #3d3d3d;
}
li {
  list-style: none;
}
.app-container {
  // min-height: 100%;
  background: #ededed repeat scroll !important;
}
</style>
